<?php

// change the following paths if necessary
$config=dirname(__FILE__).'/protected/config/main.php';

// remove the following line when in production mode
defined('YII_DEBUG') or define('YII_DEBUG',true);

$atom = dirname(__FILE__).'/framework/yii.php';
require_once($atom);
Yii::createAtomApplication($config)->run();

//$yii=dirname(__FILE__).'/framework/yii.php';
//require_once($yii);
//Yii::createWebApplication($config)->run();
